Sample Well Test Screens and Scripts
There are sample well test screens and scripts included in the CygNet source. The .can files must be opened in the Canvas HMI application, are based on a sample configuration, and must be modified to work within your installation.
Sample Files Location
The Samples\Well Test folder contains the following files:
- Scripts\GetHistoricalWellTestData_Sample.vbs
- Scripts\ProcessCalculationsGeneric.vbs
- several .svg images used on the Canvas screens
- Well Test Configuration.can
- Well Test Status.can
- Well Test Detail.can
Some things to consider:
The Canvas screens are configured with C4PROD.BSSCAN as the BSS source. You can change the site service by using the Find/Replace feature in Canvas. See the instructions below.
The Well Test Status.can Canvas screen uses the well test configuration XML. The path to the point that contains the configuration is located in the script section of the screen near the top. You will need to modify this according to your installation. See the instructions below.
Edit the Sample Canvas Screens
The sample Canvas screens provided use hard-coded UDCs that may not be the same as the UDCs that you are using in your installation. If that is the case, then you will need to change the configuration of the various objects to match your installation. To use the screens, perform the following steps.
- Copy the files to your BSS under any folder you wish, e.g. WELLTEST.
- Change file properties from read-only to writable, if necessary.
- Open Canvas and navigate to the Backstage menu and select the Find/Replace option.
- Type "C4PROD.BSS\WELLTEST" in to the Find box.
- Type "MYSITE.SERVICE\FOLDERNAME" into the Replace box, replacing MYSITE with your site's name.
- Perform another Find/Replace action and replace "C4PROD.BSS" with "MYSITE.SERVICE"
- Use the Manage button to select all the files from the BSS folder where you copied the files to. Click OK.
- Click the Replace button.
- Open the Well Test Status.can screen. Switch to the Script view.
- This screen references a PNT point where the well test configuration XML is stored. In the Script section of the screen, there is line of script that says:
string point = @"C4PROD.UIS:WELLTEST_CONFIG_V3";
Change the value of 'point' to be the fully qualified point value where the configuration resides in your installation.
- Return to the Design view and run the screen.
More:
Sample Well Test Configuration Screen
Sample Well Test Status Screen


